﻿<UserControl x:Class="Squared_Creator.Pages.StartPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
              xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        xmlns:System="clr-namespace:System;assembly=mscorlib"
      mc:Ignorable="d"
	 Width="{Binding RelativeSource=
            {RelativeSource FindAncestor,
              AncestorType={x:Type ListView}},
              Path=ActualWidth}"
    Height="{Binding RelativeSource=
            {RelativeSource FindAncestor,
              AncestorType={x:Type ListView}},
              Path=ActualHeight}" SizeChanged="UserControl_SizeChanged" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">

    <Grid x:Name="mainGrid" Width="772">
        <Grid HorizontalAlignment="Right" Background="#FF2D2D30">
            <StackPanel Grid.Column="1" Margin="50,15,15,0" Width="225" HorizontalAlignment="Right">
                <TextBlock Margin="0,10,0,10" FontSize="18" Foreground="{StaticResource Foreground}"><Run Language="fr-fr" Text="Start"/></TextBlock>
                <Separator Background="#11FFFFFF"/>
                <Button FontSize="14" Margin="0,10,110,3" Content="Create website" Style="{StaticResource LinkButton}"/>
                <Button FontSize="14" Margin="0,3,110,10" Content="Open website" Style="{StaticResource LinkButton}" Click="Button_Click"/>
                <Separator Background="#11FFFFFF"/>
                <TextBlock Margin="0,10,0,10" FontSize="18" Foreground="{StaticResource Foreground}" Text="Recent"/>
                <Separator Background="#11FFFFFF"/>
                <Button x:Name="recent1" FontSize="14" Margin="0,10,0,3" Content="&lt;null&gt;" Style="{StaticResource LinkButton}"/>
                <Button x:Name="recent2" FontSize="14" Margin="0,3,0,3" Content="&lt;null&gt;" Style="{StaticResource LinkButton}"/>
                <Button x:Name="recent3" FontSize="14" Margin="0,3,0,3" Content="&lt;null&gt;" Style="{StaticResource LinkButton}"/>
                <Button x:Name="recent4" FontSize="14" Margin="0,3,0,3" Content="&lt;null&gt;" Style="{StaticResource LinkButton}"/>
                <Button x:Name="recent5" FontSize="14" Margin="0,3,0,3" Content="&lt;null&gt;" Style="{StaticResource LinkButton}"/>
                <Button x:Name="recent6" FontSize="14" Margin="0,3,0,3" Content="&lt;null&gt;" Style="{StaticResource LinkButton}"/>
                <Button x:Name="recent7" FontSize="14" Margin="0,3,0,3" Content="&lt;null&gt;" Style="{StaticResource LinkButton}"/>
                <Button x:Name="recent8" FontSize="14" Margin="0,3,0,3" Content="&lt;null&gt;" Style="{StaticResource LinkButton}"/>
                <Button x:Name="recent9" FontSize="14" Margin="0,3,0,3" Content="&lt;null&gt;" Style="{StaticResource LinkButton}"/>
                <Button x:Name="recent10" FontSize="14" Margin="0,3,0,3" Content="&lt;null&gt;" Style="{StaticResource LinkButton}"/>
            </StackPanel>
        </Grid>


        <Grid x:Name="gridLeft" HorizontalAlignment="Left" Height="471" VerticalAlignment="Top" Width="482" Background="#FF1C1C1C">
            <TextBlock FontSize="30" Grid.Row="0" Foreground="{StaticResource Foreground}" Margin="10,10,197,412" Text="Squared Creator" FontFamily="Segoe UI Light"/>
            <TextBlock HorizontalAlignment="Center" Foreground="{StaticResource Foreground}" Margin="45,251,0,0" TextWrapping="Wrap" Text="News coming soon!" VerticalAlignment="Top" FontSize="36" Width="320" RenderTransformOrigin="0.491,1.042" Height="46"/>
            <Image Margin="209,170,197,225" Source="/Squared Creator;component/appbar.transit.construction.png" Stretch="None" HorizontalAlignment="Center"/>
        </Grid>
    </Grid>
</UserControl>
